package com.huanwang.commonlibrary.base

import androidx.lifecycle.MutableLiveData
import com.huanwang.commonlibrary.help.stateview.StatusType
import com.huanwang.commonlibrary.utils.activity.AppManager

interface BaseViewContract {

     fun <E> getMutableLiveData(mutableKey : Class<E>): MutableLiveData<E>?
     fun showErrorLoading(tag : StatusType = StatusType.ERROR_NO_NETWORK)
     fun showLoading(tag : StatusType = StatusType.LOADING_BASE_UNDERWAY)
     fun dismissLoading()
     fun showToast(content: String?)
     fun getAppManager():AppManager?
}